package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class SpotRoadInfoRowMapper implements RowMapper<SpotRoadInfo>{



	@Override
	public SpotRoadInfo mapRow(ResultSet rs, int rowNum) throws SQLException {
		SpotRoadInfo  lj= new SpotRoadInfo();
		lj.setRoadId(rs.getString("roadId"));
		lj.setSpotCode(rs.getString("spotCode"));
		lj.setRoadName(rs.getString("roadName"));
		lj.setInterName(rs.getString("interName"));
		lj.setSpeed(rs.getString("speed"));
		lj.setNostopSpeed(rs.getString("nostopSpeed"));
		return lj;
	}

}
